package ar.edu.itba.bundundu.domain;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import javax.jdo.annotations.Unique;



@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class UserIds {
	
	//@PrimaryKey
	@PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;
	
	@Persistent
	private Long uid;
	
	@Persistent
	private String token;
	
	@Persistent
	private String gc_default;
	
	@Persistent
	private String email;
	
	@Persistent
	private boolean active;

	public UserIds(Long uid, String token){
		this.uid= uid;
		this.token= token;
	}

	

	public Long getUid() {
		return uid;
	}



	public void setUid(Long uid) {
		this.uid = uid;
	}



	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getGc_default() {
		return gc_default;
	}

	public void setGc_default(String gc_default) {
		this.gc_default = gc_default;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}



	public Long getId() {
		return id;
	}



	public void setId(Long id) {
		this.id = id;
	}



  public String getEmail() {
    return email;
  }



  public void setEmail(String email) {
    this.email = email;
  }
	
	
	
}
